package com.yl.chainStore.pojo.vo.sick

import com.baomidou.mybatisplus.annotation.TableField
import com.yl.chainStore.common.enums.TypeEnum
import com.yl.common.pojo.vo.PageSelectVo
import java.util.*

/**
 * 回访，随访记录查询条件
 */
data class SickCustomerAccessLogSelectVo(

	var customerId: Long? = null,

	//执行人id
	var dealUserId: Long? = null,

	var type: TypeEnum? = null,


	//暂时没用
	var startTime: Date? = null,
	//暂时没用
	var endTime: Date? = null,

	//计划随访时间
	var planDay:Date ?= null,

	//分院id
	var subCompanyId:Long?= null,

	//是否完成
	var accessIsComplete:Boolean ?= null,

	// 医生id
	var doctorId:Long ?= null,

	// 咨询师id
	var consultantId :Long ?= null,

	//内容
	var planContent:String ?= null,

	//用户id
	// AND (scal.deal_user_id = #{vo.userId}
	//                OR scal.doctor_id = #{vo.userId}
	//                OR scal.consultant_id = #{vo.userId})
	var userId:Long ?= null,


):PageSelectVo()
